package blog.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jjpzh
 * @since 2023-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ArticleType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("type_name")
    private String typeName;

    private Integer sort;

    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private LocalDateTime createTime;


}
